﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class FirstPanel : BasePanel
{
    private void Awake()
    {
        transform.Find("CloseButton").GetComponent<Button>().onClick.AddListener(OnCloseBtnClick);
    }


    private void OnCloseBtnClick()
    {
        UIManager.Instance.PopPanel();
    }
}
